
const gmz = document.querySelector(".gmz");
gmz.addEventListener("click", () => {
    alert(`谢谢惠顾`);
})
//获取元素
const myName = document.querySelector('.name');
myName.addEventListener('click', () => {
    myName.innerText = '唐强';
    alert('唐强')
})


// 获取元素
const myNick = document.querySelector('.nick')
myNick.addEventListener('click', function () {
    alert('王汝玉')
})

const shup = document.querySelector('.shup')
shup.addEventListener('click', function () {
    alert('熊春萌')
})
const Bin = document.querySelector('.bin')
Bin.addEventListener('click', () => {
    alert('林鸿斌')
})


const red = document.querySelector('.red')
red.addEventListener('click', function () {
    alert('陈镕润')
})

